package com.egu.service;

import java.util.List;

import com.egu.model.Customer;
import com.egu.vo.CustomerVo;
import com.egu.vo.PageParam;
import com.egu.vo.RequestPageVo;
import com.egu.vo.RequestResultVo;

public interface CustomerService {

	//RequestPageVo<Customer> getList(PageParam param, Customer customer);

	
	public RequestPageVo<CustomerVo> getVoList(PageParam param, CustomerVo customerVo);


	RequestResultVo<Customer> saveOrUpdate(Customer customer);


	RequestResultVo<Customer> deleteDataById(Integer id);


	RequestPageVo<CustomerVo> getVoList(PageParam param);


	RequestResultVo<List<Customer>> getDataByCurrentUser();


	Customer getCustomertById(Integer customerId);
	
	public RequestResultVo<List<CustomerVo>> getAllList();
}
